﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Collections;
using GPCSC.Web;
using NickLee.Web.UI;
using NickLee.Common;

namespace GPCSC.Web.sjs
{
    public partial class beg : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                build();//绑定年份
            }
        }
        protected void build()
        {
            try
            {
                #region
                byte[] userInfo = (byte[])base.o_baseTable[c_obj.s_userInfo];
                Hashtable userInfoTable = CompressData.UnCompressHashtable(userInfo);
                Model.CL_USER_S users = (Model.CL_USER_S)userInfoTable["SYS_USER"];
                this.name.Text = users.REALNAME.ToString();
                this.Label3.Text = users.POSTName.ToString();
                this.Label1.Text = users.PD_CompanyName.ToString();
                this.Label2.Text = users.DepartName.ToString();
                this.lgid.Value = users.CL_USER_SOID.ToString();
                Label4.Text = users.Contact.ToString();
                Label5.Text = users.TEL.ToString();
                #endregion
            }
            catch(Exception ee)
            {
                throw ee;
            }
        }
    }
}